package cn.spring.service;

import cn.spring.entity.Bill;
import cn.spring.entity.Provider;
import cn.spring.entity.Role;
import cn.spring.entity.User;

import java.util.List;
import java.util.Map;

public interface UserService {
    public List<Provider> findUsersWithConditions();

    public List<Provider> getProviderLike(String proName);

    public List<Bill> getBill(Map<String,Object> map);

    public boolean add(Provider provider);

    public boolean updateProvider(Provider provider);

    public boolean deleteProvider(int id);

    public List<Role> getRoleList();

    public boolean insertRole(Role role);
}
